/*
 * Copyright (c) 2025 EasyAdmin
 * All rights reserved.
 *
 * This file is part of the [EasAdmin] project.
 * Unauthorized copying of this file, via any medium, is strictly prohibited.
 * Proprietary and confidential.
 *
 * Author: EasyAdmin ( 1073602@qq.com )
 * Website: https://www.xhxiao.com
 */
package com.easy.module.system.query;

import com.easy.framework.common.model.BaseQuery;
import com.easy.framework.database.annotation.Query;
import com.easy.framework.database.annotation.QueryType;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 参数配置表 查询实体
 *
 * @author EasyAdmin ( 1073602@qq.com )
 * @date 2025-08-19
 */
@Getter
@Setter
public class SysConfQuery extends BaseQuery
{
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @Query
    private Long id;

    /**
     * 名称
     */
    @Query(type = QueryType.LIKE)
    private String name;

    /**
     * 配置KEY
     */
    @Query
    private String confKey;

    /**
     * 是否系统内置（0否 1是）
     */
    @Query
    private Boolean isSystem;

    /**
     * 范围（0公开配置，1登录配置，2后台服务配置）
     */
    @Query
    private String scope;

    /**
     * 范围（0公开配置，1登录配置，2后台服务配置）
     */
    @Query(name = "scope", type = QueryType.IN)
    private List<String> inScope;
}
